package niu.toy.spring.mvc;


import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 *action方法执行前后的处理:参数解析，handler执行，返回值处理(视图的对象的生成与包装)
 */
public interface HandlerExecutor {

    boolean supports(Object handler);


    ModelAndView handle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception;

}
